@layout("/common/_container.html",{js:["/assets/hx/order/hxOrderPut/hxOrderPut_edit.js"]}){
<style>
	.layui-form-item {
    	margin-bottom: 2px;
	}
	.layui-badge-rim, .layui-colla-content, .layui-colla-item, .layui-collapse, .layui-elem-field, .layui-form-pane .layui-form-item[pane], .layui-form-pane .layui-form-label, .layui-input, .layui-layedit, .layui-layedit-tool, .layui-quote-nm, .layui-select, .layui-tab-bar, .layui-tab-card, .layui-tab-title, .layui-tab-title .layui-this:after, .layui-textarea {
    	border-color: #89d19d;
    }
    .layui-form-pane .layui-form-label {
   	 	background-color: #e6e6e6;
	}
</style>
<div class="layui-body-header">
    <span class="layui-body-header-title">修改</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="hxOrderPutForm" lay-filter="hxOrderPutForm" class="layui-form layui-form-pane" style="max-width: 1350px;margin: 10px auto;">
                <input name="id" type="hidden"/>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 1px;">
			    	<legend>修改入库订单</legend>
			  	</fieldset> 
                  <div class="layui-form-item">
				    <div class="layui-inline">
				      <label class="layui-form-label" style="font-weight: 600;">所属客户<span style="color: red;">*</span></label>
				      <div class="layui-input-inline" style="width: 180px;">
                            <select id="customerId" name="customerId" lay-filter="customerId" lay-verify="required" required>
                                @for(item in customerlist!){
                                <option value="${item.id}">${item.customerName}</option>
                                @}
                            </select>
				      </div>
				      <div class="layui-form-mid">    </div>
				      <label class="layui-form-label" style="font-weight: 600;">预约时间<span style="color: red;">*</span></label>
				      <div class="layui-input-inline" style="width: 180px;">
                            <input id="yuyueTime" name="yuyueTime" placeholder="请选择预约时间" type="text" class="layui-input" autocomplete="off" lay-verify="required" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
                      <label class="layui-form-label" style="font-weight: 600;">订单号<span style="color: red;">*</span></label>
				      <div class="layui-input-inline" style="width: 180px;">
                            <input id="orderPutNumber" name="orderPutNumber" placeholder="请输入订单号" type="text" class="layui-input" lay-verify="required" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
                      <label class="layui-form-label">单据类型</label>
				      <div class="layui-input-inline" style="width: 180px;">
                            <select id="orderType" name="orderType" lay-filter="orderType" lay-verify="" required>
					            <option value="采购收货">采购收货</option>
					            <option value="门店调入">门店调入</option>
					            <option value="批发收货">批发收货</option>
                                <option value="仓间调拨">仓间调拨</option>
                                <option value="盘盈入库">盘盈入库</option>
                            </select>
				      </div>
				    </div>
				  </div>
				  
                  <div class="layui-form-item">
				    <div class="layui-inline">
				      <label class="layui-form-label" style="font-weight: 600;">收货仓库<span style="color: red;">*</span></label>
				      <div class="layui-input-inline" style="width: 180px;">
                            <select id="getWarehouseId" name="getWarehouseId" lay-filter="getWarehouseId" lay-verify="required" required>
                                @for(item in basicWarehouseList!){
                                <option value="${item.id}">${item.warehouseName}</option>
                                @}
                            </select>
				      </div>
				      <div class="layui-form-mid">    </div>
				      <label class="layui-form-label" style="font-weight: 600;">发货客户<span style="color: red;">*</span></label>
				      <div class="layui-input-inline" style="width: 180px;">
                			<input id="setUnitId" name="setUnitId" type="hidden"/>
                            <input id="setUnit" name="setUnit" placeholder="请选择发货客户" type="text" class="layui-input" lay-verify="required" required/>
	                        <button type="button" class="layui-btn layui-btn-primary" id="choiceSetUnit" style="position: absolute;right: 1px;cursor: pointer;top: 2px"><i class="layui-icon">&#xe615;</i></button>
				      </div>
				      <div class="layui-form-mid">    </div>
                      <label class="layui-form-label">备注</label>
				      <div class="layui-input-inline" style="width: 380px;">
                            <input id="notes" name="notes" placeholder="请输入备注" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				    </div>
				  </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}